package com.teamall.web.sjtj.db.dao.mapper;

import com.teamall.web.sjtj.db.arg.CodeVisitedTeamRankArg;
import com.teamall.web.sjtj.db.po.CodeVisitedTeamRankPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeVisitedTeamRankMapper {
    
    List<Integer> countByArg(CodeVisitedTeamRankArg arg);

    List<CodeVisitedTeamRankPO> selectByArg(CodeVisitedTeamRankArg arg);

    CodeVisitedTeamRankPO selectByPrimaryKey(String id);

    List<CodeVisitedTeamRankPO> selectByArgAndPage(CodeVisitedTeamRankArg arg, RowBounds rowBound);

    int insert(CodeVisitedTeamRankPO record);

    int insertSelective(CodeVisitedTeamRankPO record);

    int insertBatch(@Param("list") List<CodeVisitedTeamRankPO> records);

    int updateByArgSelective(@Param("record") CodeVisitedTeamRankPO record,
            @Param("arg") CodeVisitedTeamRankArg arg);

    int updateByArg(@Param("record") CodeVisitedTeamRankPO record,
            @Param("arg") CodeVisitedTeamRankArg arg);

    int updateByPrimaryKeySelective(CodeVisitedTeamRankPO record);

    int updateByPrimaryKey(CodeVisitedTeamRankPO record);
    
    int deleteByArg(CodeVisitedTeamRankArg arg);
    
    int deleteByPrimaryKey(String id);
    
}